

#include <iostream>
#include <vector>
#include <algorithm>

void test_case1() {

    std::vector<int> vect = {4, 6, 7, 5, 1, 0, 9, 8, 3};
    
    for (auto i : vect)
        std::cout << i;

    std::cout << std::endl;

    std::partial_sort(vect.begin(), vect.begin() + 5, vect.end(), std::greater<int>());

    for (auto i : vect)
        std::cout << i;

    std::cout << std::endl;


}
 
int main() {

    test_case1();
    return 0;
}